// 基于template/src/views/{{appModules}}/{{pages@DEPICKUPVIEW}}/{{spinalCase page.codeName}}-model.ts.hbs生成
import { IPickupViewModel } from '@/core/interface/view/model';

//  获取视图模型
function getModel(): IPickupViewModel {
	return {
		caption: '组织机构',
		title: '组织机构数据选择视图',
		capPSLanguageRes: 'DE.LNAME.SYS_ORGANIZATION',
		titlePSLanguageRes: 'PAGE.TITLE.SYS_ORGANIZATION.PICKUPVIEW',
		showDataInfoBar: false,
		codeName: 'sys_organizationPickupView',
		uiEngineModel: [],
		ctrls: [
			{
				name: 'pickupviewpanel',
				codeName: 'PickupViewpickupviewpanel',
				controlType: 'PICKUPVIEWPANEL',
			},
		],
		ctrlParams: {
			Sys_organizationpickupviewpanel: {},
		},
		cssName: '',
		name: 'sys_organizationPickupView',
		viewType: 'DEPICKUPVIEW',
		viewStyle: 'DEFAULT',
		showCaption: false,
		isLoadDefault: true,
		entityCodeName: 'Sys_organization',
		keyPSAppDEField: 'Id',
		majorPSAppDEField: 'Organization_name',
		funcViewMode: 'PICKUPVIEW',
		expandSearchForm: false,
		quickSearchPlaceholder: ['名称'].join(','),
		useDefaultLayout: true,
	};
}

export const model = getModel();
